import { createStore } from 'vuex'
import persistedstate from 'vuex-persistedstate'
import user from './modules/user.js'
import constants from './modules/constants'
export default createStore({
  state: {
    num: 999
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    user,
    constants
  },
  plugins: [
    persistedstate({
      paths: ['']
    })
  ]
})
